package com.shenfa.bean;

/**
 * 素材管理
 * 
 * @author yanglong
 *
 */
public class Fodder {

	private String id;			//编号
	private String name;		//名称
	private String type;		//类型
	private	String docname;		//文件名
	private String begin;		//开始月
	private String end;			//结束月
	private String state;		//状态
	private String url;			//URL
	private String remark;		//备注
	private String personno;	//人员编号
	private String personname;	//人员名称
	public String getPersonname() {
		return personname;
	}

	public void setPersonname(String personname) {
		this.personname = personname;
	}
	private String createtime;	//创建时间
	
	@Override
	public String toString() {
		return "id:"+id+",name:"+name+",type:"+type+",docname:"+docname+",begin:"+begin+",end:"+end+",state:"+state
			+",url:"+url+",remark:"+remark+",personno:"+personno+",createtime:"+createtime;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getDocname() {
		return docname;
	}
	public void setDocname(String docname) {
		this.docname = docname;
	}
	public String getBegin() {
		return begin;
	}
	public void setBegin(String begin) {
		begin = begin.substring(0, 7);
		this.begin = begin;
	}
	public String getEnd() {
		return end;
	}
	public void setEnd(String end) {
		end = end.substring(0, 7);
		this.end = end;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getPersonno() {
		return personno;
	}
	public void setPersonno(String personno) {
		this.personno = personno;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	
}
